package cn.stylefeng.guns.modular.school.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.school.entity.ClassMsgStudent;
import cn.stylefeng.guns.modular.school.model.params.ClassMsgStudentParam;
import cn.stylefeng.guns.modular.school.model.result.ClassMsgStudentResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 消息学生关系表 服务类
 * </p>
 *
 * @author 
 * @since 2019-12-02
 */
public interface ClassMsgStudentService extends IService<ClassMsgStudent> {

    /**
     * 新增
     *
     * @author 
     * @Date 2019-12-02
     */
    void add(ClassMsgStudentParam param);

    /**
     * 删除
     *
     * @author 
     * @Date 2019-12-02
     */
    void delete(ClassMsgStudentParam param);

    /**
     * 更新
     *
     * @author 
     * @Date 2019-12-02
     */
    void update(ClassMsgStudentParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author 
     * @Date 2019-12-02
     */
    ClassMsgStudentResult findBySpec(ClassMsgStudentParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author 
     * @Date 2019-12-02
     */
    List<ClassMsgStudentResult> findListBySpec(ClassMsgStudentParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author 
     * @Date 2019-12-02
     */
     LayuiPageInfo findPageBySpec(ClassMsgStudentParam param);

}
